<!-- src/components/CounterDisplay.vue -->
<template>
  <div class="counter-display">
    <p>当前值：{{ count }}</p>
    <p>双倍值：{{ double }}</p>
  </div>
</template>

<script setup>
defineProps({
  count: { type: Number, required: true },
  double: { type: Number, required: true },
})
</script>

<style scoped>
.counter-display {
  margin: 16px 0;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
</style>
